﻿CREATE PROCEDURE [dbo].[StaticContent_Select]
	@Id INT = NULL,
	@Content NVARCHAR(MAX) =NULL

	AS

	Select *
	from [StaticContent]
	where
	(
	( @Id is null or Id = @Id)AND
	( @Content is null or Content like @Content + '%')
	)


